Jim Blandy [Tue, 11 May 1993 02:48:07 +0000 (02:48 +0000)]
* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
macro here; that's x-specific. Just don't pass the second
argument.
* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
use F's default face.
Jim Blandy [Tue, 11 May 1993 02:47:46 +0000 (02:47 +0000)]
* xdisp.c (display_text_line): Make face-handling code conditional
on HAVE_X_WINDOWS macro. Perhaps this isn't the best approach,
but it'll do for now.
* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
macro here; that's x-specific. Just don't pass the second
argument.
* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
use F's default face.
Jim Blandy [Tue, 11 May 1993 01:39:42 +0000 (01:39 +0000)]
* fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
filesystem being ro, since Solaris 2.1 doesn't.
(file-writable-p): Call ro_fsys.
* s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.
Jim Blandy [Tue, 11 May 1993 00:07:51 +0000 (00:07 +0000)]
* systime.h: Use the strategy from getdate.y to include the proper
combination of <time.h> and <sys/time.h>.
Jim Blandy [Mon, 10 May 1993 23:58:36 +0000 (23:58 +0000)]
Use pushdef and popdef, instead of saving the macro's value in a
variable.
Jim Blandy [Mon, 10 May 1993 23:31:01 +0000 (23:31 +0000)]
* xfns.c (Fx_create_frame): Use an XLFD name for the default font,
instead of "9x15" or whatever it was.
Jim Blandy [Mon, 10 May 1993 19:20:56 +0000 (19:20 +0000)]
* configure.in: Sidestep autoconf's quoting of the second argument
of AC_DEFINE, so we can specify the value to put there. It would
be nice if autoconf provided some way to specify computed values
for macros.
Richard M. Stallman [Mon, 10 May 1993 16:31:21 +0000 (16:31 +0000)]
(buffer-menu): Don't save a window config.
(Buffer-menu-select): Don't call Buffer-menu-execute.
Don't restore a window config.
Roland McGrath [Mon, 10 May 1993 00:49:06 +0000 (00:49 +0000)]
(byte-recompile-directory): If ARG is non-nil, set it to its prefix
numeric value. Test for ARG being zero with eq, not zerop.
Jim Blandy [Mon, 10 May 1993 00:35:06 +0000 (00:35 +0000)]
* s/template.h: Explain the relative significance of the SIGIO and
INTERRUPT_INPUT macros.
Jim Blandy [Mon, 10 May 1993 00:34:31 +0000 (00:34 +0000)]
* s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
used by any configuration right now, but he's trying to make it
work.
#include "sunos4-1.h" instead of "bsd4-2.h".
(O_NDELAY): Don't define this.
(SYSTEM_MALLOC): Don't define this, either.
(LD_SWITCH_SYSTEM): Remove the definition for this.
Jim Blandy [Mon, 10 May 1993 00:26:32 +0000 (00:26 +0000)]
* xdisp.c (display_text_line): Apply faces to characters
according to overlays and text properties; use
compute_char_face and compute_glyph_face to figure out what
face to use, and where a new face starts.
* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
which frame face to use. Call GLYPH_FOLLOW_ALIASES to make sure
we're implementing the glyph table properly. If we're not using
the default or mode line face, call intern_face to find a display
face for the frame face selected by the glyph code. Implement
underlining. Remove the `font' argument; we have to derive this
from the frame and face anyway. Change all callers.
* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
* xterm.c (x_destroy_window): Call free_frame_faces.
Jim Blandy [Mon, 10 May 1993 00:25:40 +0000 (00:25 +0000)]
* xfns.c (x_make_gc): After building the GC's for the frame, call
init_frame_faces to set up the first two faces.
* xfaces.c (init_frame_faces): Don't just try to copy the default
and mode line faces from some other random frame; instead, consult
the normal_gc and reverse_gc members of the frame, and build the
faces based on their parameters.
Jim Blandy [Mon, 10 May 1993 00:25:17 +0000 (00:25 +0000)]
* xfaces.c (Fmake_face_internal): Do nothing for non-X frames.
* dispextern.h (struct face): Add cached_index member.
* xfaces.c (get_cached_face): Use it to avoid unnecessary
searches of face_vector.
* xfaces.c (intern_face): Renamed from get_display_face.
* xfns.c (x_make_gc): After building the GC's for the frame, call
init_frame_faces to set up the first two faces.
* xfaces.c (init_frame_faces): Don't just try to copy the default
and mode line faces from some other random frame; instead, consult
the normal_gc and reverse_gc members of the frame, and build the
faces based on their parameters.
Adjust the face computation functions to return frame face ID's,
not pointers to display faces; since we call these functions
during display construction, we don't want the display faces yet.
* xfaces.c (intern_frame_face): New function.
(compute_char_face, compute_glyph_face): Apply intern_frame_face
to the computed face, and return the frame face's ID, instead of
calling intern_face and returning a pointer to a display frame.
* xfaces.c: Describe the facial data structures. It took me a
while to figure them out; perhaps this will save someone else the
trouble.
* xfaces.c (get_display_face): Use face_eql instead of writing it out.
Jim Blandy [Mon, 10 May 1993 00:23:47 +0000 (00:23 +0000)]
Arrange to tell redisplay about changes in overlays.
* xdisp.c (redisplay_region): New function.
* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
overlay has enclosed or left.
(Fdelete_overlay): Call redisplay_region on the area the overlay
used to occupy.
(Foverlay_put): Call redisplay_region on the area the overlay now
occupies; we may have put a face property on it.
* xdisp.c (redisplay): If we're doing a thorough redisplay (all
windows on all frames involved), go ahead and flush the GC cache -
call clear_face_vector.
* xdisp.c (display_text_line): Apply faces to characters
according to overlays and text properties; use
compute_char_face and compute_glyph_face to figure out what
face to use, and where a new face starts.
* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
which frame face to use. Call GLYPH_FOLLOW_ALIASES to make sure
we're implementing the glyph table properly. If we're not using
the default or mode line face, call intern_face to find a display
face for the frame face selected by the glyph code. Implement
underlining. Remove the `font' argument; we have to derive this
from the frame and face anyway. Change all callers.
* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
Jim Blandy [Mon, 10 May 1993 00:17:55 +0000 (00:17 +0000)]
* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
a user option.
* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
Jim Blandy [Mon, 10 May 1993 00:17:31 +0000 (00:17 +0000)]
* keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid
returning a non-ascii key sequence unless FIRSTONLY is the symbol
`non-ascii'.
Jim Blandy [Mon, 10 May 1993 00:17:08 +0000 (00:17 +0000)]
* blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
defined everywhere this file is #included; merge the two
definitions for defined (SIGIO) and ! defined (SIGIO) into one,
which calls reinvoke_input_signal if interrupt_input_pending is
set.
* keyboard.c (reinvoke_input_signal): New function.
* keyboard.c (syms_of_keyboard): Doc fix for
extra-keyboard-modifiers.
Jim Blandy [Mon, 10 May 1993 00:16:34 +0000 (00:16 +0000)]
* xdisp.c (display_text_line): Apply faces to characters according
to overlays and text properties; use compute_char_face to figure out
what face to use, and where a new face starts.
* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
which frame face to use. Call GLYPH_FOLLOW_ALIASES to make sure
we're implementing the glyph table properly. If we're not using
the default or mode line face, call intern_face to find a display
face for the frame face selected by the glyph code. Implement
underlining. Remove the `font' argument; we have to derive this
from the frame and face anyway. Change all callers.
* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
Jim Blandy [Mon, 10 May 1993 00:15:58 +0000 (00:15 +0000)]
* dispextern.h (struct face): Add cached_index member.
* xfaces.c (get_cached_face): Use it to avoid unnecessary
searches of face_vector.
Jim Blandy [Mon, 10 May 1993 00:15:35 +0000 (00:15 +0000)]
* config.h.in: Adjust this for use by autoconf's AC_CONFIG_HEADER,
instead of AC_OUTPUT.
* config.h.in: Remove mention of GLYPH datatype; that shouldn't be
a user option.
* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
Jim Blandy [Mon, 10 May 1993 00:15:02 +0000 (00:15 +0000)]
Arrange to tell redisplay about changes in overlays.
* xdisp.c (redisplay_region): New function.
* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
overlay has enclosed or left.
(Fdelete_overlay): Call redisplay_region on the area the overlay
used to occupy.
(Foverlay_put): Call redisplay_region on the area the overlay now
occupies; we may have put a face property on it.
* buffer.c (Fmove_overlay): Doc fix.
Jim Blandy [Mon, 10 May 1993 00:14:09 +0000 (00:14 +0000)]
* blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
defined everywhere this file is #included; merge the two
definitions for defined (SIGIO) and ! defined (SIGIO) into one,
which calls reinvoke_input_signal if interrupt_input_pending is
set.
* keyboard.c (reinvoke_input_signal): New function.
Jim Blandy [Mon, 10 May 1993 00:13:32 +0000 (00:13 +0000)]
* Makefile.in (DEFS): Remove this; we have configure build a
config.h file directly, instead of having lots of -D flags.
* Makefile.in (CFLAGS): Don't make this carry DEFS from the
configure script; the coding standards say that CFLAGS should be
left for the user to tweak.
* Makefile.in (LN_S): New variable, edited by top Makefile.
(SUBMAKEFILE): New variable, containing all flags to pass to
recursive makes.
Jim Blandy [Mon, 10 May 1993 00:10:08 +0000 (00:10 +0000)]
* keyboard.c (read_char): Exit kbd macro if Vexecuting_macro is t.
* keyboard.c (do_mouse_tracking): Now static.
* keyboard.c (read_char_menu_prompt): Expect Fx_popup_menu
to return a list of events. Don't lose any of them.
Jim Blandy [Sun, 9 May 1993 23:54:12 +0000 (23:54 +0000)]
* x-win.el: Since we require faces.el, there's no point in setting
frame-creation-function to x-create-frame - just set it directly
to x-create-frame-with-faces.
* x-win.el: (require 'faces), too. Move (require 'select) to top,
with the other requires.
Richard M. Stallman [Sun, 9 May 1993 23:53:56 +0000 (23:53 +0000)]
(rmail-output): Undo June 11 1992 change:
Don't try to use Date field in the From.
Jim Blandy [Sun, 9 May 1993 23:52:39 +0000 (23:52 +0000)]
* finder.el: Bind finder-exit to 'q', not 'x'; the former is the
conventional way to get out of such a package.
(finder-summary): Use substitute-command-keys.
(finder-mode): Use \\<...> to make sure we get the right keymap.
Jim Blandy [Sun, 9 May 1993 23:48:41 +0000 (23:48 +0000)]
* faces.el: Call internal-set-face-1, not internat-set-face-1.
* faces.el: Don't set frame-creation-function here; x-win.el is
the appropriate place to set it.
* faces.el: Only apply x-initialize-frame-faces to X frames; pass
over terminal frames.
* faces.el: Provide 'faces.
Jim Blandy [Sun, 9 May 1993 23:38:29 +0000 (23:38 +0000)]
* faces.el (read-face-name): Call face-list, not list-faces.
Fail more gracefully if we can't build bold, italic, etc,
versions of the default font.
* faces.el (make-face-bold, make-face-italic,
make-face-bold-italic, make-face-unbold, make-face-unitalic):
Implement NOERROR argument.
(x-initialize-frame-faces): Use the NOERROR argument to the
font manipulation functions to avoid errors while starting up.
Remove initialization of isearch font.
* xfaces.c (internal-x-complain-about-font): Add new frame
argument, so we can check the frame parameters to find the
default font. Callers changed.
* faces.el (x-create-frame-with-faces): Fix typo. Dyke out
code to fully qualify the modeline font; we may not be able to
do that correctly.
Richard M. Stallman [Sun, 9 May 1993 23:18:30 +0000 (23:18 +0000)]
(dabbrev-expand): Delete a search-forward call
after the second replace-match.
Roland McGrath [Sun, 9 May 1993 23:16:19 +0000 (23:16 +0000)]
(find-change-log): If there is a buffer-local value of
change-log-default-name, just return it with no searching. Previously a if
it was set to a nonexistent file name, we would loop forever.
Jim Blandy [Sun, 9 May 1993 22:52:15 +0000 (22:52 +0000)]
The GNU coding standards specify that CFLAGS should be left for
users to set.
* Makefile.in (CFLAGS): Let configure determine the default value
for this. Don't
have it default to DEFS.
(${SUBDIR}): Pass CFLAGS down to submakes, not DEFS.
(lib-src/Makefile, src/Makefile): Edit the default value for
CFLAGS into these files, not DEFS.
* configure.in (CFLAGS): Choose a default value for this - "-g"
normally, or "-g -O" if we're using GCC. Edit it into the
top-level Makefile.
* configure.in: When scanning the machine and system description
#include files, write their names to conftest.c properly.
* configure.in: In configuration name case for Apallos running
Domainios, set opsys, not opsysfile.
* configure.in: Use the autoconf AC_CONFIG_HEADER macro to produce
src/config.h, instead of AC_OUTPUT; the latter overwrites
src/config.h even when it hasn't changed, puts a makefile-style
comment at the top even though it's C code, and produces a
config.status script which doesn't do the job right.
* configure.in: Add AC_LN_S test, so we can tell whether or not we
can use a symbolic link to get the X Menu library into src.
* Makefile.in (LN_S): New variable.
(src/Makefile): Edit the value of LN_S into this makefile.
Jim Blandy [Sun, 9 May 1993 22:51:16 +0000 (22:51 +0000)]
* Makefile.in (DEFS): Deleted; since we're using AC_CONFIG_HEADER,
this is always just -DHAVE_CONFIG_H.
The GNU coding standards specify that CFLAGS should be left for
users to set.
* Makefile.in (CFLAGS): Let configure determine the default value
for this. Don't
have it default to DEFS.
(${SUBDIR}): Pass CFLAGS down to submakes, not DEFS.
(lib-src/Makefile, src/Makefile): Edit the default value for
CFLAGS into these files, not DEFS.
* configure.in (CFLAGS): Choose a default value for this - "-g"
normally, or "-g -O" if we're using GCC. Edit it into the
top-level Makefile.
* configure.in: Add AC_LN_S test, so we can tell whether or not we
can use a symbolic link to get the X Menu library into src.
* Makefile.in (LN_S): New variable.
(src/Makefile): Edit the value of LN_S into this makefile.
Richard M. Stallman [Sun, 9 May 1993 18:03:20 +0000 (18:03 +0000)]
(query-replace-map): Bind [escape] like "\e".
Richard M. Stallman [Sun, 9 May 1993 18:02:10 +0000 (18:02 +0000)]
Doc fix.
Richard M. Stallman [Sun, 9 May 1993 17:58:55 +0000 (17:58 +0000)]
(kbd-macro-query): Use query-replace-map to define answers.
Richard M. Stallman [Sun, 9 May 1993 14:29:33 +0000 (14:29 +0000)]
(vc-backend-diff): Handle either string or list.
Richard M. Stallman [Sun, 9 May 1993 14:27:02 +0000 (14:27 +0000)]
(diff-switches): Define var here as well as in diff.el.
Richard M. Stallman [Sun, 9 May 1993 14:26:40 +0000 (14:26 +0000)]
Comment fix.
Richard M. Stallman [Sun, 9 May 1993 04:27:47 +0000 (04:27 +0000)]
*** empty log message ***
Richard M. Stallman [Sun, 9 May 1993 04:26:46 +0000 (04:26 +0000)]
[SCO]: Include time.h.
Richard M. Stallman [Sun, 9 May 1993 01:16:14 +0000 (01:16 +0000)]
(mail-do-fcc): Don't output a newline before From...
Richard M. Stallman [Sun, 9 May 1993 01:14:47 +0000 (01:14 +0000)]
(rmail-convert-to-babyl-format): Delete 1 char
if we see a newline instead of what we expect.
Richard M. Stallman [Sun, 9 May 1993 00:57:56 +0000 (00:57 +0000)]
(jump-to-register): Allow file name "in" a register.
Richard M. Stallman [Sat, 8 May 1993 23:49:17 +0000 (23:49 +0000)]
(scroll-bar-drag, scroll-bar-drag-1): New functions.
Put scroll-bar-drag on down-mouse-2 in scroll bar.
Leave up-events on mouse-2 unbound.
Richard M. Stallman [Sat, 8 May 1993 22:38:37 +0000 (22:38 +0000)]
Require help-macro, not help-screen.
Richard M. Stallman [Sat, 8 May 1993 22:38:25 +0000 (22:38 +0000)]
Provide help-macro, not help-screen.
Richard M. Stallman [Sat, 8 May 1993 16:45:38 +0000 (16:45 +0000)]
Don't add menu bar to minibuffer-only frames.
Richard M. Stallman [Sat, 8 May 1993 16:29:04 +0000 (16:29 +0000)]
(Fx_get_mouse_event, Fx_mouse_events): Code deleted.
Richard M. Stallman [Sat, 8 May 1993 16:28:36 +0000 (16:28 +0000)]
(Vmouse_event): Var deleted.
(syms_of_window): Don't make it Lisp var.
Richard M. Stallman [Sat, 8 May 1993 16:17:01 +0000 (16:17 +0000)]
(vc-directory-18): cd to the directory in question before the file tree walk.
Richard M. Stallman [Sat, 8 May 1993 16:14:11 +0000 (16:14 +0000)]
(vc-directory-18): New function.
If Emacs 18, make vc-directory alias to this.
Richard M. Stallman [Sat, 8 May 1993 14:55:39 +0000 (14:55 +0000)]
(read_avail_input): If meta_key is 2, let 8 bits thru.
(Fset_input_mode): Set meta_key to 2 if META arg isn't t or nil.
Eric S. Raymond [Sat, 8 May 1993 09:25:11 +0000 (09:25 +0000)]
*** empty log message ***
Richard M. Stallman [Fri, 7 May 1993 17:40:01 +0000 (17:40 +0000)]
(calendar-mode-map): Add arrow key bindings.
Richard M. Stallman [Fri, 7 May 1993 17:34:34 +0000 (17:34 +0000)]
(rmail-resend): Add `resent' attribute.
(rmail-forward): With prefix arg, run rmail-resend.
Richard M. Stallman [Fri, 7 May 1993 02:55:22 +0000 (02:55 +0000)]
(x_get_arg): Call Fintern, not intern.
Richard M. Stallman [Thu, 6 May 1993 22:21:12 +0000 (22:21 +0000)]
(flush-lines, keep-lines, how-many):
Delete spurious `s' from prompt arg to read-from-minibuffer.
Richard M. Stallman [Thu, 6 May 1993 20:17:22 +0000 (20:17 +0000)]
Typo in last change.
Richard M. Stallman [Thu, 6 May 1993 19:51:08 +0000 (19:51 +0000)]
(comint-filter): New function.
(comint-exec): Install the filter.
Jim Blandy [Thu, 6 May 1993 19:02:36 +0000 (19:02 +0000)]
*** empty log message ***
Richard M. Stallman [Thu, 6 May 1993 18:54:32 +0000 (18:54 +0000)]
(previous-matching-history-element): If minibuf is empty,
use the last regexp specified a the default.
(next-matching-history-element): Likewise.
Richard M. Stallman [Thu, 6 May 1993 18:51:49 +0000 (18:51 +0000)]
(comint-previous-matching-input): Use let* in the interactive.
Jim Blandy [Thu, 6 May 1993 18:43:12 +0000 (18:43 +0000)]
Initial revision
Richard M. Stallman [Thu, 6 May 1993 18:42:47 +0000 (18:42 +0000)]
Support *-sco3.2v4* as opsystem.
Richard M. Stallman [Thu, 6 May 1993 18:41:14 +0000 (18:41 +0000)]
Comment change.
Richard M. Stallman [Thu, 6 May 1993 18:11:39 +0000 (18:11 +0000)]
Don't include calc directory.
Exclude many files in the man directory; copy a few.
Jim Wilson [Thu, 6 May 1993 18:05:39 +0000 (18:05 +0000)]
> (os): Add -clix*.
Richard M. Stallman [Thu, 6 May 1993 17:04:56 +0000 (17:04 +0000)]
(main): Handle -display like -d.
Richard M. Stallman [Thu, 6 May 1993 14:30:09 +0000 (14:30 +0000)]
(comint-previous-matching-input): New command, on M-r.
(comint-next-matching-input): New command, on M-s.
(comint-previous-similar-input): Commented out.
(comint-next-similar-input): Likewise.
(comint-previous-input-matching): Deleted.
(comint-last-input-match): Var commented out.
(comint-mode): Don't make comint-last-input-match local.
Richard M. Stallman [Thu, 6 May 1993 01:33:13 +0000 (01:33 +0000)]
(auto-mode-alist): Delete the entries for makefile-mode.
Richard M. Stallman [Thu, 6 May 1993 01:30:26 +0000 (01:30 +0000)]
Comment changes.
Richard M. Stallman [Wed, 5 May 1993 22:47:54 +0000 (22:47 +0000)]
Doc fix.
Richard M. Stallman [Wed, 5 May 1993 18:12:04 +0000 (18:12 +0000)]
(blink-matching-paren-distance): Change default to 12,000.
Richard M. Stallman [Tue, 4 May 1993 22:13:52 +0000 (22:13 +0000)]
(Fdisplay_buffer): Add space to prompt.
Richard M. Stallman [Tue, 4 May 1993 19:52:02 +0000 (19:52 +0000)]
(vc-backend-diff): Use diff-switches, not vc-diff-options.
(vc-diff-options): Variable deleted.
Richard M. Stallman [Tue, 4 May 1993 19:33:17 +0000 (19:33 +0000)]
Doc fix.
Richard M. Stallman [Tue, 4 May 1993 16:42:57 +0000 (16:42 +0000)]
(minor-mode-map-alist): Don't use it if it's void.
Richard M. Stallman [Tue, 4 May 1993 16:40:24 +0000 (16:40 +0000)]
(vc-dired-prefix-map): New keymap.
Use it in minor-mode-map-alist for vc-dired-mode.
Jim Blandy [Tue, 4 May 1993 14:17:07 +0000 (14:17 +0000)]
* configure.in: Use AC_HAVE_HEADERS to test for sys/time.h, and
call AC_STRUCT_TM to see what's in time.h.
* configure.in: Employ quoting stupidity to get the value of CPP
to expand properly.
Jim Blandy [Tue, 4 May 1993 13:02:26 +0000 (13:02 +0000)]
* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER, CHAR_SHIFT, CHAR_CTL,
CHAR_META): Shift these all up one bit, back to where they were.
Jim Blandy [Tue, 4 May 1993 02:44:42 +0000 (02:44 +0000)]
Implement extra_keyboard_modifiers properly.
* keyboard.c (syms_of_keyboard): Doc fix for
extra-keyboard-modifiers; use the same modifier bits as we do for
characters.
(read_char): Apply all the modifiers in extra_keyboard_modifiers
to the input characters, so you can get hyper, super, and the rest
of the gang.
* xterm.c (x_emacs_to_x_modifiers): New function.
(x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
consistency. Callers changed.
(XTread_socket): Apply x_emacs_to_x_modifiers to
extra_keyboard_modifiers before setting the state member of the
event; this will get all the modifiers on ASCII characters.
* xterm.c (x_text_icon): Don't call XSetIconName; it should be
unnecessary, and perhaps it's killing the icon pixmap.
Jim Blandy [Tue, 4 May 1993 02:44:16 +0000 (02:44 +0000)]
Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
* s/mach2.h: copied from the Emacs 18.59 distribution.
Don't define NO_REMAP, define START_FILES as
`pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the
default `-lm -lc' (there is no libc on the NeXT).
* ymakefile (STARTFILES): Allow config.h to set this value even if
ORDINARY_LINK is defined.
* unexnext.c: Fix subdirectories for the machine dependent include
files for NeXTStep 3.0; #include <mach/mach.h> and
<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
(getsectbyname): Remove prototype for this; the system #include
files take care of that.
(malloc_cookie): New variable.
(unexec_doit): Set malloc_cookie to the result returned by
malloc_freezedry.
* emacs.c (main): Declare malloc_cookie to be extern, so that we can
get the value set when we dumped and pass it to malloc_jumpstart.
* systime.h: The NeXT has a timezone function.
Jim Blandy [Tue, 4 May 1993 02:39:39 +0000 (02:39 +0000)]
* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
case we need them.
* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
shift_modifier, ctrl_modifier, meta_modifier): Define these in
terms of the CHAR_mumble macros, to avoid having the same thing
defined in two places.
Make the modifier manipulation functions more robust. The old way
caused a bug once, and probably would again.
* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
shift_modifier, ctrl_modifier, meta_modifier): Shift these all
down one bit in value, to avoid sign extension problems.
* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
what our table of modifier names can handle.
(apply_modifiers): Don't abort if you see extra modifier bits,
just remove them.
Jim Blandy [Tue, 4 May 1993 02:39:05 +0000 (02:39 +0000)]
* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into
functions in sysdep.c.
* sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
Jim Blandy [Tue, 4 May 1993 02:36:45 +0000 (02:36 +0000)]
* systime.h: Doc fix.
(EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
millisecond. What's three orders of magnitude between friends?
* dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
`milliseconds' argument by 1000 to get microseconds.
Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
* s/mach2.h: copied from the Emacs 18.59 distribution.
Don't define NO_REMAP, define START_FILES as
`pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the
default `-lm -lc' (there is no libc on the NeXT).
* ymakefile (STARTFILES): Allow config.h to set this value even if
ORDINARY_LINK is defined.
* unexnext.c: Fix subdirectories for the machine dependent include
files for NeXTStep 3.0; #include <mach/mach.h> and
<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
(getsectbyname): Remove prototype for this; the system #include
files take care of that.
(malloc_cookie): New variable.
(unexec_doit): Set malloc_cookie to the result returned by
malloc_freezedry.
* emacs.c (main): Declare malloc_cookie to be extern, so that we can
get the value set when we dumped and pass it to malloc_jumpstart.
* systime.h: The NeXT has a timezone function.
Jim Blandy [Tue, 4 May 1993 02:36:03 +0000 (02:36 +0000)]
* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Move these into
functions in sysdep.c.
* sysdep.c (emacs_get_tty, emacs_set_tty): Here they are.
* sysdep.c (emacs_set_tty): Call tcsetattr over and over again
until it does all of what we ask it to, or returns an error.
Jim Blandy [Tue, 4 May 1993 02:35:38 +0000 (02:35 +0000)]
* search.c (Freplace_match): Arrange for markers sitting at the
beginning or end of the original text to float to the
corresponding position in the replacement text.
Jim Blandy [Tue, 4 May 1993 02:35:01 +0000 (02:35 +0000)]
Arrange for Fy_or_n_p to put off switch-frame events.
* lread.c (read_filtered_char): New function, which contains the
code which used to be in Fread_char, Fread_event, and
Fread_char_exclusive; there was a lot of common code.
(Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms
of read_filtered_char.
* lisp.h (read_filtered_char): Declare this extern here.
* fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay
switch-frame events.
Jim Blandy [Tue, 4 May 1993 02:34:26 +0000 (02:34 +0000)]
* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
case we need them.
* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
shift_modifier, ctrl_modifier, meta_modifier): Define these in
terms of the CHAR_mumble macros, to avoid having the same thing
defined in two places.
Arrange for Fy_or_n_p to put off switch-frame events.
* lread.c (read_filtered_char): New function, which contains the
code which used to be in Fread_char, Fread_event, and
Fread_char_exclusive; there was a lot of common code.
(Fread_char, Fread_event, Fread_char_exclusive): Rewrite in terms
of read_filtered_char.
* lisp.h (read_filtered_char): Declare this extern here.
* fns.c (Fy_or_n_p): Call read_filtered_char, arranging to delay
switch-frame events.
Make the modifier manipulation functions more robust. The old way
caused a bug once, and probably would again.
* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
shift_modifier, ctrl_modifier, meta_modifier): Shift these all
down one bit in value, to avoid sign extension problems.
* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
what our table of modifier names can handle.
(apply_modifiers): Don't abort if you see extra modifier bits,
just remove them.
* lisp.h (Qrange_error, Qdomain_error, Qsingularity_error,
Qoverflow_error, Qunderflow_error): Add extern to these declarations.
Jim Blandy [Tue, 4 May 1993 02:33:19 +0000 (02:33 +0000)]
* keymap.c (Fdefine_prefix_command): Doc fix.
Jim Blandy [Tue, 4 May 1993 02:32:22 +0000 (02:32 +0000)]
Implement extra_keyboard_modifiers properly.
* keyboard.c (syms_of_keyboard): Doc fix for
extra-keyboard-modifiers; use the same modifier bits as we do for
characters.
(read_char): Apply all the modifiers in extra_keyboard_modifiers
to the input characters, so you can get hyper, super, and the rest
of the gang.
* xterm.c (x_emacs_to_x_modifiers): New function.
(x_convert_modifiers): Renamed to x_x_to_emacs_modifiers, for
consistency. Callers changed.
(XTread_socket): Apply x_emacs_to_x_modifiers to
extra_keyboard_modifiers before setting the state member of the
event; this will get all the modifiers on ASCII characters.
* keyboard.c (kbd_buffer_get_event): Don't generate switch-frame
events if they'd only switch to the frame already selected. This
avoids lots of extra switch-frame events when using a separate
minibuffer.
* keyboard.c (Fcurrent_input_mode): New function.
* keyboard.c (read_key_sequence): Let the `modifiers' variable in
the code which deals with KEY being unbound be an int, not a
Lisp_Object.
Make the modifier manipulation functions more robust. The old way
caused a bug once, and probably would again.
* termhooks.h (alt_modifier, super_modifier, hyper_modifier,
shift_modifier, ctrl_modifier, meta_modifier): Shift these all
down one bit in value, to avoid sign extension problems.
* lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too.
* keyboard.c (lispy_modifier_list): Ignore modifier bits beyond
what our table of modifier names can handle.
(apply_modifiers): Don't abort if you see extra modifier bits,
just remove them.
Jim Blandy [Tue, 4 May 1993 02:29:57 +0000 (02:29 +0000)]
* fileio.c (Fmake_symbolic_link): If a file already exists under
the link's filename, delete the file which the link
would replace, not the file the link would point at.
Jim Blandy [Tue, 4 May 1993 02:29:06 +0000 (02:29 +0000)]
* emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and
':' elsewhere, just have it default to ':' if not #defined, and
#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
* s/vms.h (SEPCHAR): #define this to be ','.
* s/template.h (SEPCHAR): Mention this.
Changes for Emacs 19 from Thorsten Ohl <ohl@chico.harvard.edu>:
* s/mach2.h: copied from the Emacs 18.59 distribution.
Don't define NO_REMAP, define START_FILES as
`pre-crt0.o' instead. Define LIB_MATH as `-lm', to override the
default `-lm -lc' (there is no libc on the NeXT).
* ymakefile (STARTFILES): Allow config.h to set this value even if
ORDINARY_LINK is defined.
* unexnext.c: Fix subdirectories for the machine dependent include
files for NeXTStep 3.0; #include <mach/mach.h> and
<mach-o/loader.h> instead of <mach.h> and <sys/loader.h>.
(getsectbyname): Remove prototype for this; the system #include
files take care of that.
(malloc_cookie): New variable.
(unexec_doit): Set malloc_cookie to the result returned by
malloc_freezedry.
* emacs.c (main): Declare malloc_cookie to be extern, so that we can
get the value set when we dumped and pass it to malloc_jumpstart.
* systime.h: The NeXT has a timezone function.
Jim Blandy [Tue, 4 May 1993 02:28:10 +0000 (02:28 +0000)]
* systime.h: Doc fix.
(EMACS_SET_USECS): Remember that a `usec' is a microsecond, not a
millisecond. What's three orders of magnitude between friends?
* dispnew.c (Fsit_for, Fsleep_for): Remember to multiply the
`milliseconds' argument by 1000 to get microseconds.
* dispnew.c (Fsleep_for, Fsit_for): Allow SECONDS to be a
floating point value.
* dispnew.c (getenv): Extern declaration deleted; this is done in
config.h.
Jim Blandy [Tue, 4 May 1993 02:26:53 +0000 (02:26 +0000)]
* data.c (Ffset): Refuse to set the function value of t or nil.
Jim Blandy [Tue, 4 May 1993 02:24:42 +0000 (02:24 +0000)]
* config.h.in (getenv): Don't test THIS_IS_YMAKEFILE to see if we
should exclude the getenv declaration; instead, test NOT_C_CODE.
Per suggestion from Francesco Potorti`.
* ymakefile (NOT_C_CODE): Define this; it's true, and useful.
* config.h.in (volatile): Don't define this to be the empty string
if some file has #defined HAVE_VOLATILE.
Jim Blandy [Tue, 4 May 1993 02:23:12 +0000 (02:23 +0000)]
* buffer.c (syms_of_buffer): Doc fix for buffer-display-table.
* buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER
arguments.
(recenter_overlay_lists): New argument BUF, to use instead of the
current buffer.
(Foverlay_recenter): Pass the appropriate arguments to
recenter_overlay_lists.
* buffer.c (Fdelete_overlay): Don't assume that overlay is in the
current buffer. Don't forget to declare the argument a Lisp_Object.
Jim Blandy [Tue, 4 May 1993 00:28:07 +0000 (00:28 +0000)]
* emacs.c (SEPCHAR): Instead of defining this to be ',' on VMS and
':' elsewhere, just have it default to ':' if not #defined, and
#define it to be ',' in s/vms.h; OS/2 will need it to be ';'.
* s/vms.h (SEPCHAR): #define this to be ','.
* s/template.h (SEPCHAR): Mention this.
* s/vms.h (xfree): #define this to emacs_xfree, to avoid case
conflict with XFree; on VMS, external symbols are case-insensitive.